package socket.practice;

import socket.Server;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.ServerSocket;
import java.net.Socket;
import java.nio.charset.StandardCharsets;

public class S {
    private ServerSocket serverSocket;
    public S(){
        try {
            System.out.println("C run...");
            serverSocket = new ServerSocket(8080);
            System.out.println("C finish");
        } catch (IOException e) {
            e.printStackTrace();
        }

    }
    public void start(){

    }

    public static void main(String[] args) {
        Server server = new Server();
        server.start();
    }


}